.class Lcom/waiqin365/lightapp/visit/dz;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/visit/b/as;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/waiqin365/lightapp/visit/b/bd;)V
    .locals 4

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "tradeType"

    iget-object v2, p1, Lcom/waiqin365/lightapp/visit/b/bd;->O:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/b/am;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    const-class v3, Lcom/waiqin365/lightapp/kehu/CMCustomerDetailsActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "cmId"

    iget-object v3, p1, Lcom/waiqin365/lightapp/visit/b/bd;->k:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "isEdit"

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v2, "jsonhashmap"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->i(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->i(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    return-void
.end method

.method public a(Lcom/waiqin365/lightapp/visit/b/bd;I)V
    .locals 3

    const-string/jumbo v0, "1"

    iget-object v1, p1, Lcom/waiqin365/lightapp/visit/b/bd;->n:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, "0"

    iget-object v1, p1, Lcom/waiqin365/lightapp/visit/b/bd;->m:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-static {v0, p2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;I)I

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->i(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;)Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "info"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "isModify"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    const/16 v2, 0xcc

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->startActivityForResult(Landroid/content/Intent;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->overridePendingTransition(II)V

    :cond_0
    return-void
.end method

.method public b(Lcom/waiqin365/lightapp/visit/b/bd;I)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-static {v0, p2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;I)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-static {v0, p1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;Lcom/waiqin365/lightapp/visit/b/bd;)Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->k(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    const v2, 0x7f080249

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/dz;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->k(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method
